#ifndef __MOSS__
#define __MOSS__
#include "UnityCG.cginc"

Texture2D<float4> _AlbedoTex;
Texture2D<float2> _NormalTex;
Texture2D<float> _OcclusionTex;
Texture2D<float> _HeightTex;

struct VS_IN {
    float4 mPos : POSITION;
    float3 mNom : NORMAL;
    float3 mTan : TANGENT;
    float2 uv   : TEXCOORD0;
};

struct VS_OUT {
    float4 cPos : SV_POSITION;
    float3 wPos : TEXCOORD0;
    float3 wNom : TEXCOORD1;
    float3 wTan : TEXCOORD2;
    float3 wBin : TEXCOORD3;
    float2 uv   : TEXCOORD4;
};

#define FS_IN VS_OUT

VS_OUT vert(VS_IN i) {
    VS_OUT o = (VS_OUT)0;
    o.cPos = UnityObjectToClipPos(i.mPos);
    o.wPos = mul(unity_ObjectToWorld, i.mPos).xyz;
    o.wNom = mul(unity_ObjectToWorld, float4(i.mNom, 0)).xyz;
    o.wTan = mul(unity_ObjectToWorld, float4(i.mTan, 0)).xyz;
    o.wBin = 
    o.uv = i.uv;
}

#endif